﻿<controls:ChildWindow x:Class="WellDone.AddMenuGroupDialog"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
            Width="391" Height="175" 
           Title="Add Menu Group">
    <Grid x:Name="LayoutRoot" Margin="2,2,2,15">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="40" />
            <RowDefinition Height="30"/>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <sdk:Label HorizontalAlignment="Left" Content="Menu Group" Height="19" Margin="8,10,0,0" VerticalAlignment="Top" Width="95" Grid.Row="0"/>
        <TextBox HorizontalAlignment="Left" Margin="109,6,0,0" Name="tbMenuGroupName" VerticalAlignment="Top" Width="250" MaxLength="50" KeyDown="tbMenuGroupName_KeyDown"  Grid.Row="0"/>
        <CheckBox x:Name="cbMenuGroupVisible" Grid.Row="1" Content="Visible" HorizontalAlignment="Left" Margin="109,10,0,0" VerticalAlignment="Top" Padding="3,-3,0,0" Height="16" Width="100"></CheckBox>
        <Button x:Name="btnCancel" Content="Cancel" Click="CancelButton_Click" Width="75" HorizontalAlignment="Left" Grid.Row="2"  Margin="190,12,0,0" Grid.RowSpan="2"/>
        <Button x:Name="btnOk" Content="OK" Click="OKButton_Click" Width="75" HorizontalAlignment="Left" Margin="109,13,0,0" Grid.Row="2" Height="30" VerticalAlignment="Top" Grid.RowSpan="2" />
    </Grid>
</controls:ChildWindow>